<?php
namespace app\admin\validate;

use think\Validate;

class AuthRule extends Validate
{
    protected $rule = [
        'title' => 'require',
        'name' => 'require',
    ];
    protected $message = [
        'title.require' => '导航标题必须',
        'name.require' => '控制器/方法',
    ];
}